/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */
package cn.edu.thu.log.web.service;

import java.util.Collection;

import org.deckfour.xes.model.XLog;

/**
 * interface of service XES Convert
 * 
 * @author meng
 * 
 */
public interface XESConvertService {
	/**
	 * 
	 */
	void convert();

	// public void convertWihtoutSplit() ;
	/**
	 * get XLog from converting
	 * 
	 * @return XLog which stores the information from .log files
	 */
	XLog getXlog();

	/**
	 * get list of XLog from a standard log file, like .xes file
	 * 
	 * @param standardLogFile
	 *            the absolute path of xes file
	 * @return a collection XLogs which store the information from standard log
	 *         files, like .xes file
	 */
	Collection<XLog> readStandardLog(String standardLogFile);

	/**
	 * get list of XLog from a standard log file, like .xes file
	 * 
	 * @return a collection XLogs which store the information from standard log
	 *         files, like .xes file
	 */
	Collection<XLog> readStandardLog();
	/**
	 * 
	 * @param sourcePath
	 * sourcePath
	 * @param name
	 * name
	 * @return
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	XLog mergeXESToLog(String sourcePath, String name);
	/**
	 * 
	 * @param readFilePath
	 * readFilePath
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	void setReadFilePath(String readFilePath);
	/**
	 * 
	 * @param resultFile
	 * resultFile
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	void setResultFile(String resultFile);
	/**
	 * 
	 * @return
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	String getReadFilePath();
	/**
	 * 
	 * @return
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	String getResultFile();
	/**
	 * 
	 * @return
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	String getAnalysisResult();
	/**
	 * 
	 * @return
	 * @author fenyo rome
	 * @date 2013-4-27
	 */
	String getClassify();

	/**
	 * @param classify
	 *            the classify to set
	 */
	void setClassify(String classify);

}
